package org.面试题.factoryMethods.PizzaStore;

import org.面试题.factoryMethods.order.BeijingOrderPizza;
import org.面试题.factoryMethods.order.LunDunOrderPizza;

public class PizzaStore {
    public static void main(String[] args) {
        //todo 创建地区的口味pizza
        // new BeijingOrderPizza();

        System.out.println("请输入你想要的地区：beijing 或者 lundun");

        Scanner sc = new Scanner(System.in);
        s = sc.nextLine();
        if (s.equals("beijing")){
            System.out.println("pizza种类: cheese奶酪 pepper胡椒");
            new BeijingOrderPizza();
        }else if (s.equals("lundun")){
            new LunDunOrderPizza();
        }else {
            System.out.println("你想找茬");
        }

    }
}
